<li 
  nz-submenu 
  *ngFor="let item of menu; let i = index;" 
  (nzOpenChange)="selectedIndex = i" 
  [nzOpen]="selectedIndex == i">
  <span title style="font-size: 15px;">
    <i [ngClass]="item.icon"></i>
    <span class="nav-text">{{item.name}}</span>
  </span>
  <ul>
    <li 
      nz-menu-item 
      *ngFor="let ite of item.child" 
      (click)="emitEvent(ite, item)"
      [routerLink]="ite.path" 
      routerLinkActive="ant-menu-item-selected" 
      [routerLinkActiveOptions]="{exact: true}"
    >
      {{ite.name}}
    </li>
  </ul>
</li>